from tu import Solution

def test():
    assert Solution().numSquares(101) == 2
    assert Solution().numSquares(12) == 3
    assert Solution().numSquares(13) == 2